// 注册全局组件
import HeadBar from './HeadBar.vue'
import Footer from './Footer.vue'
const components = [
  HeadBar,
  Footer
];
export default {
  install: app => {
    components.forEach(component => {
      app.component(component.__name, component);
    });
  }
}